package com.oto.web.model;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

/**
 * @author xueqiang.mi
 * @since 2010-12-21
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "account")
public class XmlAccount {
	@XmlAttribute
	private String name;
	@XmlAttribute
	private String type;

	public String getName() {
		return name;
	}

	public String getType() {
		return type;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "XmlAccount [name=" + name + ", type=" + type + "]";
	}
}
